signed char* titlepat[21];
signed char titlesp00[2];
signed char titlesp01[98];
signed char titlesp02[14];
signed char titlesp03[26];
signed char titlesp04[68];
signed char titlesp05[50];
signed char titlesp06[74];
signed char titlesp07[74];
signed char titlesp08[80];
signed char titlesp09[38];
signed char titlesp10[56];
signed char titlesp11[62];
signed char titlesp12[62];
signed char titlesp13[50];
signed char titlesp14[68];
signed char titlesp15[50];
signed char titlesp16[68];
signed char titlesp17[68];
signed char titlesp18[32];
signed char titlesp20[32];
signed char* actclearpat[59];
signed char actclearsp00[2];
signed char actclearsp01[8];
signed char actclearsp02[8];
signed char actclearsp03[8];
signed char actclearsp04[8];
signed char actclearsp05[8];
signed char actclearsp06[8];
signed char actclearsp07[8];
signed char actclearsp08[8];
signed char actclearsp09[8];
signed char actclearsp10[8];
signed char actclearsp11[20];
signed char actclearsp12[20];
signed char actclearsp13[8];
signed char actclearsp14[8];
signed char actclearsp15[14];
signed char actclearsp16[38];
signed char actclearsp17[20];
signed char actclearsp18[20];
signed char actclearsp19[20];
signed char actclearsp20[20];
signed char actclearsp21[14];
signed char actclearsp22[26];
signed char actclearsp23[32];
signed char actclearsp24[26];
signed char actclearsp25[20];
signed char actclearsp26[20];
signed char actclearsp27[8];
signed char actclearsp28[8];
signed char actclearsp29[8];
signed char actclearsp30[8];
signed char actclearsp31[8];
signed char actclearsp32[8];
signed char actclearsp33[8];
signed char actclearsp34[74];
signed char actclearsp35[26];
signed char actclearsp36[74];
signed char actclearsp37[14];
signed char actclearsp38[8];
signed char actclearsp39[20];
signed char actclearsp58[20];
signed char actclearsp40[14];
signed char actclearsp41[8];
signed char actclearsp42[8];
signed char actclearsp43[8];
signed char actclearsp46[44];
signed char actclearsp47[74];
signed char actclearsp48[74];
signed char actclearsp49[32];
signed char actclearsp50[26];
signed char actclearsp51[20];
signed char actclearsp52[20];
signed char actclearsp44[20];
signed char actclearsp45[20];
signed char actclearsp53[14];
signed char actclearsp54[32];
signed char actclearsp55[26];
signed char actclearsp56[20];
signed char actclearsp57[20];
signed char* obox04pat[13];
signed char obox04sp00[62];
signed char obox04sp01[50];
signed char obox04sp02[8];
signed char obox04sp03[8];
signed char obox04sp04[8]
signed char obox04sp05[14];
signed char* gost08pat[18];
signed char gost08sp00[8];
signed char gost08sp01[8];
signed char gost08sp02[8];
signed char gost08sp03[8];
signed char gost08sp04[8];
signed char gost08sp05[8];
signed char gost08sp06[8];
signed char gost08sp07[8];
signed char gost08sp08[8];
signed char gost08sp09[14];
signed char gost08sp10[14];
signed char gost08sp11[14];
signed char gost08sp12[14];
signed char gost08sp13[8];
signed char gost08sp14[8];
signed char gost08sp15[8];
signed char gost08sp16[8];
signed char gost08sp17[8];
unsigned short* sai00_tbl[8];
unsigned short sai00_tbl00[4];
unsigned short sai00_tbl01[4];
unsigned short sai00_tbl02[2];
unsigned short sai00_tbl03[3];
unsigned short sai00_tbl03[2];
unsigned short sai00_tbl03[2];
unsigned short sai00_tbl03[2];
unsigned short sai00_tbl03[2];
signed char* sai00pat[8];
signed char sai00sp00[20];
signed char sai00sp01[20];
signed char sai00sp02[8];
signed char sai00sp03[14];
signed char sai00sp04[8];
signed char sai00sp05[8];
signed char sai00sp06[8];
signed char sai00sp07[8];
signed char* hana00pat[5]
signed char hana00sp00[38];
signed char hana00sp01[38];
signed char hana00sp02[50];
signed char hana00sp03[38];
signed char hana00sp04[8];
signed char* saru00pat[7];
signed char saru00sp00[26];
signed char saru00sp01[26];
signed char saru00sp02[26];
signed char saru00sp03[8];
signed char saru00sp04[8];
signed char saru00sp05[8];
signed char saru00sp06[8];
signed char* snak00pat[6];
signed char snak00sp00[8];
signed char snak00sp01[8];
signed char snak00sp02[8];
signed char snak00sp03[20];
signed char snak00sp04[20];
signed char snak00sp05[20];
unsigned char zone_friend_data[24][2];


signed char* titlepat[21] = {
  titlesp00,
  titlesp01,
  titlesp02,
  titlesp03,
  titlesp04,
  titlesp05,
  titlesp06,
  titlesp07,
  titlesp08,
  titlesp09,
  titlesp10,
  titlesp11,
  titlesp12,
  titlesp13,
  titlesp14,
  titlesp15,
  titlesp16,
  titlesp17,
  titlesp18,
  titlesp18,
  titlesp20
};


signed char titlesp00[2] = {
     0,    0
};
signed char titlesp01[98] = {
     0,   16,   88,    9,   16, -123,  -24,   -1,   88,    9,
    22, -123,    0,    0, -112,   15,    0, -123,  -32,   -1,
  -112,   15,    0, -123,    0,    0,  -80,   15,    0, -123,
   -32,   -1,  -80,   15,    0, -123,    0,    0,  -48,   15,
     0, -123,  -32,   -1,  -48,   15,    0, -123,    0,    0,
   -16,   15,    0, -123,  -32,   -1,  -16,   15,    0, -123,
     0,    0,   16,   15,    0, -123,  -32,   -1,   16,   15,
     0, -123,    0,    0,   48,   15,    0, -123,  -32,   -1,
    48,   15,    0, -123,    0,    0,   80,   15,    0, -123,
   -32,   -1,   80,   15,    0, -123,    0,    0
};
signed char titlesp02[14] = {
     0,    2,   16,    9,   55, -123,  -28,   -1,    0,   15,
    61, -123,  -11,   -1
};
signed char titlesp03[26] = {
     0,    4,    0,    6,   49, -123,  -36,   -1,    0,   10,
    40, -123,  -20,   -1,    0,    6,   34, -123,    4,    0,
     0,    6,   28, -123,   20,    0
};
signed char titlesp04[68] = {
     0,   11,    0,    6,   77, -123,  -32,   -1,    0,    6,
    34, -123,  -16,   -1,    0,    6,   89, -123,    0,    0,
     0,    6,   28, -123,   16,    0,    0,    2,   98, -123,
    32,    0,    0,    2,   95, -123,   48,    0,    0,    6,
   101, -123,   56,    0,    0,    2,   98, -123,   72,    0,
     0,    6,   77, -123,   80,    0,    0,    6,   34, -123,
    96,    0,    0,    6,   83, -123,  112,    0
};
signed char titlesp05[50] = {
     0,    8,    0,    6,   89, -123,  -16,   -1,    0,    6,
   110, -123,    0,    0,    0,    6,   83, -123,   16,    0,
     0,    6,   98, -123,   32,    0,    0,   10,   40, -123,
    48,    0,    0,    6,   77, -123,   72,    0,    0,    2,
    95, -123,   88,    0,    0,   14,  104, -123,   96,    0
};
signed char titlesp06[74] = {
     0,   12,    0,   10,  104, -123,  -72,   -1,    0,    6,
    77, -123,  -48,   -1,    0,    6,  113, -123,  -32,   -1,
     0,    6,   83, -123,  -16,   -1,    0,    2,  101, -123,
     0,    0,    0,    6,   28, -123,    8,    0,    0,    6,
    95, -123,   32,    0,    0,    6,   77, -123,   48,    0,
     0,    6,  113, -123,   64,    0,    0,    6,   89, -123,
    80,    0,    0,    6,   28, -123,   96,    0,    0,    6,
    34, -123,  112,    0
};
signed char titlesp07[74] = {
     0,   12,    0,    6,   83, -123,  -64,   -1,    0,    6,
    77, -123,  -48,   -1,    0,    6,  107, -123,  -32,   -1,
     0,    6,   34, -123,  -16,   -1,    0,    2,  101, -123,
     0,    0,    0,    6,  119, -123,    8,    0,    0,    6,
    77, -123,   24,    0,    0,    2,  104, -123,   40,    0,
     0,    6,   34, -123,   56,    0,    0,    2,  101, -123,
    72,    0,    0,   14,   89, -123,   80,    0,   0,     6,
   113, -123,  112,    0
};
signed char titlesp08[80] = {
     0,   13,    0,    6,   89, -123,  -72,   -1,    0,    2,
   104, -123,  -56,   -1,    0,    6,  119, -123,  -48,   -1,
     0,    2,  101, -123,  -32,   -1,    0,    6,   34, -123,
   -24,   -1,    0,    6,   95, -123,   -8,   -1,    0,    6,
    83, -123,   16,    0,    0,    6,   77, -123,   32,    0,
     0,    6,  113, -123,   48,    0,    0,    6,  113, -123,
    64,    0,    0,    6,   28, -123,   80,    0,    0,    6,
   107, -123,   96,    0,    0,    6,  119, -123,  112,    0
};
signed char titlesp09[38] = {
     0,    6,    0,    2,   89, -123,   40,    0,    0,    6,
    83, -123,   48,    0,    0,    6,   28, -123,   64,    0,
     0,    6,   83, -123,   80,    0,    0,    6,   77, -123,
    96,    0,    0,    6,   92, -123,  112,    0
};
signed char titlesp10[56] = {
     0,    9,    0,    2,  101, -123,  -32,   -1,    0,    6,
    77, -123,  -24,   -1,    0,    6,  110, -123,   -8,   -1,
     0,    6,   34, -123,    8,    0,    0,   14,   89, -123,
    24,    0,    0,    6,   83, -123,   64,    0,    0,    6,
    77, -123,   80,    0,    0,    6,  104, -123,   96,    0,
     0,    6,   28, -123,  112,    0
};
signed char titlesp11[62] = {
     0,   10,    0,   10,   89, -123,  -80,   -1,    0,    6,
   110, -123,  -56,   -1,    0,    6,  104, -123,  -40,   -1,
     0,    6,   77, -123,  -24,   -1,    0,    6,   98, -123,
    -8,   -1,    0,   10,   40, -123,    8,    0,    0,   10,
    40, -123,   32,    0,    0,   10,   89, -123,   56,    0,
     0,   14,   77, -123,   88,    0,    0,    2,   86, -123,
   120,    0
};
signed char titlesp12[62] = {
     0,   10,    0,    6,  101, -123,  -32,   -1,    0,    6,
    77, -123,  -16,   -1,    0,    6,   34, -123,    0,    0,
     0,    6,   83, -123,   16,    0,    0,   10,   40, -123,
    32,    0,    0,    6,   95, -123,   56,    0,    0,   10,
    40, -123,   72,    0,    0,    2,   92, -123,   96,    0,
     0,    2,   89, -123,  104,    0,    0,    6,  101, -123,
   112,    0
};
signed char titlesp13[50] = {
     0,    8,    0,    2,   89, -123,    0,    0,    0,    6,
    77, -123,    8,    0,    0,    6,   98, -123,   24,    0,
     0,    6,   77, -123,   40,    0,    0,    6,   92, -123,
    64,    0,    0,    6,   28, -123,   80,    0,    0,    6,
    28, -123,   96,    0,    0,    6,   83, -123,  112,    0
};
signed char titlesp14[68] = {
     0,   11,    0,    6,  101, -123,  -72,   -1,    0,    6,
    89, -123,  -56,   -1,    0,    6,  119, -123,  -40,   -1,
     0,    6,  101, -123,  -16,   -1,    0,    6,   77, -123,
     0,    0,    0,    6,   34, -123,   16,    0,    0,    6,
    83, -123,   32,    0,    0,   14,  107, -123,   48,    0,
     0,    6,   77, -123,   80,    0,    0,    6,   95, -123,
    96,    0,    0,    6,  119, -123,  112,    0
};
signed char titlesp15[50] = {
     0,    8,    0,    6,   83, -123,   -8,   -1,    0,    6,
    28, -123,    8,    0,    0,    6,   77, -123,   24,    0,
     0,    6,  101, -123,   40,    0,    0,    6,   95, -123,
    56,    0,    0,    6,   28, -123,   80,    0,    0,    6,
    89, -123,   96,    0,    0,    6,   89, -123,  112,    0
};
signed char titlesp16[68] = {
     0,   11,    0,    6,  110, -123,  -80,   -1,    0,    6,
    89, -123,  -64,   -1,    0,    6,   28, -123,  -48,   -1,
     0,    6,   83, -123,  -24,   -1,    0,   10,   40, -123,
    -8,   -1,    0,   10,   40, -123,   16,    0,    0,   10,
    95, -123,   40,    0,    0,    6,  104, -123,   64,    0,
     0,    6,   83, -123,   80,    0,    0,    6,   77, -123,
    96,    0,    0,    6,  116, -123,  112,    0
};
signed char titlesp17[68] = {
     0,   11,    0,   10,   95, -123,  -56,   -1,    0,    6,
    89, -123,  -32,   -1,    0,    6,   89, -123,  -16,   -1,
     0,    6,   28, -123,    0,    0,    0,    6,   34, -123,
    16,    0,    0,    6,  107, -123,   40,    0,    0,    6,
    77, -123,   56,    0,    0,    2,  104, -123,   72,    0,
     0,    6,   77, -123,   80,    0,    0,    6,   83, -123,
    96,    0,    0,    6,   28, -123,  112,    0
};
signed char titlesp18[32] = {
     0,    5,    0,    6,   83, -123,    0,    0,    0,   10,
    40, -123,   16,    0,    0,    6,   95, -123,   40,    0,
     0,    6,  113, -123,   56,    0,    0,    6,  101, -123,
    72,    0
};
signed char titlesp20[32] = {
     0,    5,    0,    6,  101, -123,    0,    0,    0,    6,
   107, -123,   16,    0,    0,    6,   77, -123,   32,    0,
     0,    6,   89, -123,   48,    0,    0,    6,   28, -123,
    64,    0
};


signed char* actclearpat[59] = {
  actclearsp00,
  actclearsp01,
  actclearsp02,
  actclearsp03,
  actclearsp04,
  actclearsp05,
  actclearsp06,
  actclearsp07,
  actclearsp08,
  actclearsp09,
  actclearsp10,
  actclearsp11,
  actclearsp12,
  actclearsp13,
  actclearsp14,
  actclearsp15,
  actclearsp16,
  actclearsp17,
  actclearsp18,
  actclearsp19,
  actclearsp20,
  actclearsp21,
  actclearsp22,
  actclearsp23,
  actclearsp24,
  actclearsp25,
  actclearsp26,
  actclearsp27,
  actclearsp28,
  actclearsp29,
  actclearsp30,
  actclearsp31,
  actclearsp32,
  actclearsp33,
  actclearsp34,
  actclearsp35,
  actclearsp36,
  actclearsp37,
  actclearsp38,
  actclearsp39,
  actclearsp40,
  actclearsp41,
  actclearsp42,
  actclearsp43,
  actclearsp44,
  actclearsp45,
  actclearsp46,
  actclearsp47,
  actclearsp48,
  actclearsp49,
  actclearsp50,
  actclearsp51,
  actclearsp52,
  actclearsp53,
  actclearsp54,
  actclearsp55,
  actclearsp56,
  actclearsp57,
  actclearsp58
};


signed char actclearsp00[2] = {
     0,    0
};
signed char actclearsp01[8] = {
     0,    1,    0,    1,   32,  -91,    0,    0
};
signed char actclearsp02[8] = {
     0,    1,    0,    1,   34,  -91,    0,    0
};
signed char actclearsp03[8] = {
     0,    1,    0,    1,   36,  -91,    0,    0
};
signed char actclearsp04[8] = {
     0,    1,    0,    1,   38,  -91,    0,    0
};
signed char actclearsp05[8] = {
     0,    1,    0,    1,   40,  -91,    0,    0
};
signed char actclearsp06[8] = {
     0,    1,    0,    1,   42,  -91,    0,    0
};
signed char actclearsp07[8] = {
     0,    1,    0,    1,   44,  -91,    0,    0
};
signed char actclearsp08[8] = {
     0,    1,    0,    1,   46,  -91,    0,    0
};
signed char actclearsp09[8] = {
     0,    1,    0,    1,   48,  -91,    0,    0
};
signed char actclearsp10[8] = {
     0,    1,    0,    1,   50,  -91,    0,    0
};
signed char actclearsp11[20] = {
     0,    3,    0,    1,   68,  -91,    0,    0,    0,   13,
    66,  -91,    8,    0,  -10,    6,   52, -123,   36,    0
};
signed char actclearsp12[20] = {
     0,    3,    0,   13,   58,  -91,    0,    0,    0,    1,
   -54,  -90,   32,    0,  -10,    6,   52, -123,   36,    0
};
signed char actclearsp13[8] = {
    0,    1,    0,   13,  -46,  -90,    0,    0
};
signed char actclearsp14[8] = {
    0,    1,    0,   13,  -38,  -90,    0,    0
};
signed char actclearsp15[14] = {
     0,    2,   16,    9,   74, -123,    0,    0,    0,   15,
   104, -123,   17,    0
};
signed char actclearsp16[38] = {
     0,    6,    0,    5,   96, -123,    0,    0,    0,    5,
    84, -123,   16,    0,    0,    5,   92, -123,   32,    0,
     0,    5,   88, -123,   48,    0,    0,    5,  100, -123,
    64,    0,    0,   13,   80, -123,   80,    0
};
signed char actclearsp17[20] = {
     0,    3,    0,    5,   80, -123,    0,    0,    0,    5,
    88, -123,   16,    0,    0,    5,   96, -123,   30,    0
};
signed char actclearsp18[20] = {
     0,    3,    0,   13,   15, -123,    0,    0,    0,   13,
    23, -123,   32,    0,    0,    5,   31, -123,   64,    0
};
signed char actclearsp19[20] = {
     0,    3,    0,   13,  120, -123,    1,    0,    0,   13,
  -128, -123,   33,    0,    0,    1, -120, -123,   65,    0
};
signed char actclearsp20[20] = {
     0,    3,    0,   13,  120, -123,    6,    0,    0,   13,
  -128, -123,   38,    0,    0,    1, -120, -123,   70,    0
};
signed char actclearsp21[14] = {
     0,    2,    0,   13,  120, -123,    1,    0,    0,   13,
  -128, -123,   33,    0
};
signed char actclearsp22[26] = {
     0,    4,    0,   13,  120, -123,    4,    0,    0,   13,
  -128, -123,   36,    0,    0,   13, -120, -123,   68,    0,
     0,    9, -112, -123,  100,    0
};
signed char actclearsp23[32] = {
     0,    5,    0,   13,  -54,  -26,  -96,   -1,    0,    1,
   -30,  -26,  -64,   -1,    0,    9,  -28,  -90,   40,    0,
     0,   13,  -22,  -90,   64,    0,  -10,    6,  -52, -123,
   -60,   -1
};
signed char actclearsp24[26] = {
     0,    4,    0,   13,  -46,  -26,    0,    0,    0,   13,
   -46,  -27,   40,    0,    0,    1,  -54,  -26,   72,    0,
   -10,    6,  -52, -123,   76,    0
};
signed char actclearsp25[20] = {
     0,    3,    0,   13,  127,  -27,    0,    0,    0,    9,
  -121,  -27,   32,    0,  -10,    6,  -52, -123,   52,    0
};
signed char actclearsp26[20] = {
  0, 3, 0, 13, -115, -27, 0, 0, 0, 13,
  -107, -27, 32, 0, -10, 6, -52, -123, 60, 0
};
signed char actclearsp27[8] = {
    0,    1,   -8,    5,  111,  -59,   -8,   -1
};
signed char actclearsp28[8] = {
    0,    1,   -8,    5,  107,  -59,   -8,   -1
};
signed char actclearsp29[8] = {
    0,    1,   -8,    5,  115,  -59,   -8,   -1
};
signed char actclearsp30[8] = {
    0,    1,   -8,    5,  107,  -91,   -8,   -1
};
signed char actclearsp31[8] = {
    0,    1,   -8,    5,  123, -123,   -8,   -1
};
signed char actclearsp32[8] = {
    0,    1,   -8,    5,  119, -123,   -8,   -1
};
signed char actclearsp33[8] = {
    0,    1,   -8,    5,  111,  -91,   -8,   -1
};
signed char actclearsp34[74] = {
     0,   12,    0,    5,   89, -123,  -96,   -1,    0,    5,
    81, -123,  -80,   -1,    0,    5,   51, -123,  -64,   -1,
     0,    5,   43, -123,  -48,   -1,    0,    1,   63, -123,
   -32,   -1,    0,    5,   35, -123,  -24,   -1,    0,    5,
    65, -123,   -8,   -1,    0,    5,   89, -123,   16,    0,
     0,    5,   93, -123,   32,    0,    0,    5,   35, -123,
    48,    0,    0,    5,   55, -123,   64,    0,    0,    5,
    51, -123,   80,    0
};
signed char actclearsp35[26] = {
     0,    4,    0,    5,   55, -123,    0,    0,    0,    5,
    77, -123,   17,    0,    0,    5,   93, -123,   32,    0,
     0,    5,   35, -123,   56,    0
};
signed char actclearsp36[74] = {
     0,   12,    0,    5,   43, -123, -100,   -1,    0,    5,
    59, -123,  -84,   -1,    0,    5,   35, -123,  -68,   -1,
     0,    5,   77, -123,  -52,   -1,    0,    5,   89, -123,
   -36,   -1,    0,    5,   51, -123,  -12,   -1,    0,    5,
    69, -123,    4,    0,    0,    5,   51, -123,   20,    0,
     0,    5,   85, -123,   36,    0,    0,    5,   35, -123,
    52,    0,    0,    5,   65, -123,   68,    0,    0,    5,
    47, -123,   84,    0
};
signed char actclearsp37[14] = {
     0,    2,    0,    5,   65, -123,   72,    0,    0,    5,
    65, -123,   86,    0
};
signed char actclearsp38[8] = {
    0,    1,    0,    5,   89, -123,  100,    0
};
signed char actclearsp39[20] = {
     0,    3,    0,    5,   73,  -27,    0,    0,    0,    5,
    77,  -27,   17,    0,    0,    9,  101,  -27,   32,    0
};
signed char actclearsp58[20] = {
     0,    3,    0,    5,   43,  -27,    0,    0,    0,    5,
    35,  -27,   16,    0,    0,    5,   73,  -27,   32,    0
};
signed char actclearsp40[14] = {
     0,    2,    0,    5,   39,  -27,    0,    0,    0,    5,
    51,  -27,   15,    0
};
signed char actclearsp41[8] = {
    0,    1,  -24,   10,  -99, -123,  -12,   -1
};
signed char actclearsp42[8] = {
    0,    1,  -24,   10,  -90, -123,  -12,   -1
};
signed char actclearsp43[8] = {
    0,    1,  -24,   10,  -81, -123,  -12,   -1
};
signed char actclearsp46[44] = {
     0,    7,    0,    5,   43,  -27,  -64,   -1,    0,    5,
    35,  -27,  -48,   -1,    0,    5,   73,  -27,  -32,   -1,
     0,    5,   55,  -27,   -8,   -1,    0,    5,   77,  -27,
     9,    0,    0,    5,   93,  -27,   32,    0,    0,    5,
    77,  -27,   48,    0
};
signed char actclearsp47[74] = {
     0,   12,    0,    5,   59,  -27,  -96,   -1,    0,    1,
    63,  -27,  -80,   -1,    0,    5,   47,  -27,  -71,   -1,
     0,    5,   47,  -27,  -54,   -1,    0,    5,   51,  -27,
   -38,   -1,    0,    5,   73,  -27,  -23,   -1,    0,    5,
    81,  -27,    1,    0,    0,    5,   35,  -27,   16,    0,
     0,    5,   65,  -27,   32,    0,    0,    5,   35,  -27,
    48,    0,    0,    5,   43,  -27,   64,    0,    0,    5,
    51,  -27,   80,    0
};
signed char actclearsp48[74] = {
     0,   12,    0,    5,   89, -123, -100,   -1,    0,    5,
    97, -123,  -84,   -1,    0,    5,   81, -123,  -68,   -1,
     0,    5,   51, -123,  -52,   -1,    0,    5,   85, -123,
   -36,   -1,    0,    5,   51, -123,  -12,   -1,    0,    5,
    69, -123,    4,    0,    0,    5,   51, -123,   20,    0,
     0,    5,   85, -123,   36,    0,    0,    5,   35, -123,
    52,    0,    0,    5,   65, -123,   68,    0,    0,    5,
    47, -123,   84,    0
};
signed char actclearsp49[32] = {
     0,    5,    0,   13,  -54,  -90,  -96,   -1,    0,    1,
   -30,  -90,  -64,   -1,    0,    9,  -28,  -90,   40,    0,
     0,   13,  -22,  -90,   64,    0,  -10,    6,  -52, -123,
   -60,   -1
};
signed char actclearsp50[26] = {
     0,    4,    0,   13,  -46,  -90,    0,    0,    0,   13,
   -46,  -91,   40,    0,    0,    1,  -54,   38,   72,    0,
   -10,    6,  -52, -123,   76,    0
};
signed char actclearsp51[20] = {
     0,    3,    0,   13,  127,  -91,    0,    0,    0,    9,
  -121,  -91,   32,    0,  -10,    6,  -52, -123,   52,    0
};
signed char actclearsp52[20] = {
     0,    3,    0,   13, -115,  -91,    0,    0,    0,   13,
  -107,  -91,   32,    0,  -10,    6,  -52, -123,   60,    0
};
signed char actclearsp44[20] = {
     0,    3,    0,    5,   73, -123,    0,    0,    0,    5,
    77, -123,   17,    0,    0,    9,  101, -123,   32,    0
};
signed char actclearsp45[20] = {
     0,    3,    0,    5,   43, -123,    0,    0,    0,    5,
    35, -123,   16,    0,    0,    5,   73, -123,   32,    0
};
signed char actclearsp53[14] = {
     0,    2,    0,    5,   39, -123,    0,    0,    0,    5,
    51, -123,   15,    0
};
signed char actclearsp54[32] = {
     0,    5,    0,   13,  -54, -122,  -96,   -1,    0,    1,
   -30, -122,  -64,   -1,    0,    9,  -28, -122,   40,    0,
     0,   13,  -22, -122,   64,    0,  -10,    6,  -52, -123,
   -60,   -1
};
signed char actclearsp55[26] = {
     0,    4,    0,   13,  -46, -122,    0,    0,    0,   13,
   -46, -123,   40,    0,    0,    1,  -54,    6,   72,    0,
   -10,    6,  -52, -123,   76,    0
};
signed char actclearsp56[20] = {
     0,    3,    0,   13,  127, -123,    0,    0,    0,    9,
  -121, -123,   32,    0,  -10,    6,  -52, -123,   52,    0
};
signed char actclearsp57[20] = {
     0,    3,    0,   13, -115, -123,    0,    0,    0,   13,
  -107, -123,   32,    0,  -10,    6,  -52, -123,   60,    0
};


signed char* obox04pat[13] = {
  obox04sp00,
  obox04sp01,
  obox04sp02,
  obox04sp03,
  obox04sp04,
  obox04sp05,
  obox04sp05,
  obox04sp05,
  obox04sp05,
  obox04sp05,
  obox04sp10,
  obox04sp11,
  obox04sp12
};


signed char obox04sp00[62] = {
    0,  10, -32,  13,  37,   0, -32,  -1, -32,  13,
   37,   8,   0,   0, -16,   2,  45,   0,  -8,  -1,
  -16,   2,  45,   8,   0,   0, -16,   6,  48,   0,
  -24,  -1, -16,   6,  48,   8,   8,   0, -16,   2,
   54,   0, -32,  -1, -16,   2,  54,   8,  24,   0,
    8,  14,  25,   0, -32,  -1,   8,  14,  25,   8,
    0,   0
};
signed char obox04sp01[50] = {
    0,   8, -32,  13,  93,   3, -32,  -1, -16,   1,
  101,   3, -16,  -1,   0,  12, 103,   3, -32,  -1,
  -32,  13,  93,  11,   0,   0, -16,   1, 101,  11,
    8,   0,   0,  12, 103,  11,   0,   0,   8,  14,
   25,   0, -32,  -1,   8,  14,  25,   8,   0,   0
};
signed char obox04sp02[8] = {
    0,   1,  -8,   5, 107,   3,  -8,  -1
};
signed char obox04sp03[8] = {
    0,   1,  -8,   5, 111,   3,  -8,  -1
};
signed char obox04sp04[8] = {
    0,   1,  -8,   1, 115,   3,  -4,  -1
};
signed char obox04sp05[14] = {
    0,   2, -12,   5, 117,   3, -16,  -1, -12,   5,
  117,  11,   0,   0
};
signed char obox04sp10[8] = {
    0,   1,  -8,   5, 111,  11,  -8,  -1
};
signed char obox04sp11[8] = {
    0,   1,  -8,   1, 115,  11,  -4,  -1
};
signed char obox04sp12[14] = {
    0,   2,  -5,   5, 117,   3, -16,  -1,
   -5,   5, 117,  11,   0,   0
};


signed char* gost08pat[18] = {
  gost08sp00,
  gost08sp01,
  gost08sp02,
  gost08sp03,
  gost08sp04,
  gost08sp05,
  gost08sp06,
  gost08sp07,
  gost08sp08,
  gost08sp09,
  gost08sp10,
  gost08sp00,
  gost08sp00,
  gost08sp00,
  gost08sp00,
  gost08sp00,
  gost08sp00,
  gost08sp00
};


signed char gost08sp00[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp01[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp02[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp03[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp04[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp05[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp06[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp07[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp08[8] = {
    0,   1, -16,  15,   0,   0, -16,  -1
};
signed char gost08sp09[14] = {
    0,   2, -20,   9,   0,   0, -16,  -1,  -4,  14,   6,   0, -16,  -1
};
signed char gost08sp10[14] = {
    0,   2, -20,   9,   0,   0, -16,  -1,  -4,  14,   6,   0, -16,  -1
};
signed char gost08sp11[14] = {
    0,   2, -20,   9,   0,   0, -16,  -1,  -4,  14,   6,   0, -16,  -1
};
signed char gost08sp12[14] = {
    0,   2, -20,   9,   0,   0, -16,  -1,  -4,  14,   6,   0, -16,  -1
};
signed char gost08sp13[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp14[8] = {
    0,   1, -12,  10,   0,   0, -12,  -1
};
signed char gost08sp15[8] = {
    0,   1,  -8,   5,   0,   0,  -8,  -1
};
signed char gost08sp16[8] = {
    0,   1,  -8,   5,   0,   0,  -8,  -1
};
signed char gost08sp17[8] = {
    0,   1,  -4,   0,   0,   0,  -4,  -1
};


unsigned short* sai00_tbl[8] = {
  sai00_tbl00,
  sai00_tbl01,
  sai00_tbl02,
  sai00_tbl03,
  sai00_tbl04,
  sai00_tbl05,
  sai00_tbl06,
  sai00_tbl07
};


unsigned short sai00_tbl00[4] = { 512, 1, 47, 290 };
unsigned short sai00_tbl01[4] = { 512, 337, 369, 411 };
unsigned short sai00_tbl02[2] = { 0, 603 };
unsigned short sai00_tbl03[3] = { 256, 799, 1041 };
unsigned short sai00_tbl04[2] = { 0, 1074 };
unsigned short sai00_tbl05[2] = { 0, 1125 };
unsigned short sai00_tbl06[2] = { 0, 1221 };
unsigned short sai00_tbl07[2] = { 0, 1314 };


signed char* sai00pat[8] = {
  sai00sp00,
  sai00sp01,
  sai00sp02,
  sai00sp03,
  sai00sp04,
  sai00sp05,
  sai00sp06,
  sai00sp07
};


signed char sai00sp00[20] = {
    0,   3,   0,   1,   0,   0, -24,  -1, -16,  15,
    2,   0, -16,  -1,  -8,   2,  18,   0,  16,   0
};
signed char sai00sp01[20] = {
    0,   3,   0,   1,   0,   0, -20,  -1, -16,   4,
    2,   0, -12,  -1,  -8,  14,   4,   0, -12,  -1
};
signed char sai00sp02[8] = {
    0,   1, -16,  11,   0,   0, -12,  -1
};
signed char sai00sp03[14] = {
    0,   2, -16,  15,   0,   0, -20,  -1,  -8,   1,
   16,   0,  12,   0
};
signed char sai00sp04[8] = {
    0,   1,   0,   8,   0,   0, -12,  -1
};
signed char sai00sp05[8] = {
    0,   1,  -8,   9,   0,   0, -12,  -1
};
signed char sai00sp06[8] = {
    0,   1,  -8,   9,   0,   0, -12,  -1
};
signed char sai00sp07[8] = {
    0,   1,   0,   8,   0,   0, -12,  -1
};


signed char* hana00pat[5] = {
  hana00sp00,
  hana00sp01,
  hana00sp02,
  hana00sp03,
  hana00sp04
};


signed char hana00sp00[38] = {
    0,   6, -22,   6,   7,   0, -16,  -1, -22,   6,
    7,   8,   0,   0,   8,   0,   0,   0, -24,  -1,
    0,   6,   1,   0, -16,  -1,   0,   6,   1,   8,
    0,   0,   8,   0,   0,   8,  16,   0
};
signed char hana00sp01[38] = {
    0,   6, -22,   6,  13,   0, -16,  -1, -22,   6,
   13,   8,   0,   0,   8,   0,   0,   0, -24,  -1,
    0,   6,   1,   0, -16,  -1,   0,   6,   1,   8,
    0,   0,   8,   0,   0,   8,  16,   0
};
signed char hana00sp02[50] = {
    0,   8, -30,   0,  19,   0,  -8,  -1, -22,   6,
   20,   0, -16,  -1, -30,   0,  19,   8,   0,   0,
  -22,   6,  20,   8,   0,   0,   8,   0,   0,   0,
  -24,  -1,   0,   6,   1,   0, -16,  -1,   0,   6,
    1,   8,   0,   0,   8,   0,   0,   8,  16,   0
};
signed char hana00sp03[38] = {
    0,   6, -20,   6,   7,   0, -16,  -1, -20,   6,
    7,   8,   0,   0,   8,   0,   0,   0, -24,  -1,
    0,   6,   1,   0, -16,  -1,   0,   6,   1,   8,
    0,   0,   8,   0,   0,   8,  16,   0
};
signed char hana00sp04[8] = {
    0,   1,  -8,   5,  26,   0,  -8,  -1
};


signed char* saru00pat[7] = {
  saru00sp00,
  saru00sp01,
  saru00sp02,
  saru00sp03,
  saru00sp04,
  saru00sp05,
  saru00sp06
};


signed char saru00sp00[26] = {
     0,    4,   -2,    0,   13,    0,   -9,   -1,  -21,   10,
     0,    0,  -16,   -1,   -8,    5,    9,    0,   -8,   -1,
     0,    4,   14, -128,   16,    0
};
signed char saru00sp01[26] = {
     0,    4,   -3,    0,   13,    0,   -9,   -1,  -23,   10,
     0,    0,  -16,   -1,   -8,    5,    9,    0,   -8,   -1,
     0,    4,   14, -128,   16,    0
};
signed char saru00sp02[26] = {
     0,    4,   -2,    0,   13,    0,   -9,   -1,  -21,   10,
     0,    0,  -16,   -1,   -8,    5,    9,    0,   -8,   -1,
     8,    4,   14, -128,   16,    0
};
signed char saru00sp03[8] = {
    0,   1,  -4,   0,  16,   0,  -4,  -1
};
signed char saru00sp04[8] = {
    0,   1,  -4,   0,  17,  16,  -4,  -1
};
signed char saru00sp05[8] = {
    0,   1,  -4,   0,  18,   0,  -4,  -1
};
signed char saru00sp05[8] = {
    0,   1,  -8,   5,  19,   0,  -8,  -1
};


signed char* snak00pat[6] = {
  snak00sp00,
  snak00sp01,
  snak00sp02,
  snak00sp03,
  snak00sp04,
  snak00sp05
};


signed char snak00sp00[8] = {
    0,   1,  -8,   5,   0,   0,  -8,  -1
};
signed char snak00sp01[8] = {
    0,   1, -12,   6,   4,   0,  -8,  -1
};
signed char snak00sp02[8] = {
    0,   1,  -8,   5,  10,   0,  -8,  -1
};
signed char snak00sp03[20] = {
    0,   3, -20,   5,  14,   0,   0,   0,  -4,   8,
   23,   0,   0,   0,   4,   5,  14,  16,   0,   0
};
signed char snak00sp04[20] = {
    0,   3, -20,   5,  18,   0,   0,   0,  -4,   4,
   26,   0,   5,   0,   4,   5,  18,  16,   0,   0
};
signed char snak00sp05[20] = {
    0,   3, -12,   0,  22,   0,   8,   0,  -4,   0,
   28,   0,  16,   0,   4,   0,  22,  16,   8,   0
};


#define POCKY_RABBIT 0
#define CUCKY_CHICKEN 1
#define PECKY_PINGUIN 2
#define ROCKY_SEAL 3
#define FLICKY_FLICKY 5
#define RICKY_SQUIRREL 6
unsigned char zone_friend_data[24][2] = {
  { FLICKY_FLICKY,  CUCKY_CHICKEN }, // Angel Island
  { POCKY_RABBIT,   ROCKY_SEAL    }, // Hydrocity
  { FLICKY_FLICKY,  CUCKY_CHICKEN }, // Marble Garden
  { POCKY_RABBIT,   FLICKY_FLICKY }, // Carnival Night
  { RICKY_SQUIRREL, FLICKY_FLICKY }, // Flying Battery
  { PECKY_PINGUIN,  ROCKY_SEAL    }, // Icecap
  { FLICKY_FLICKY,  CUCKY_CHICKEN }, // Launch Base
  { RICKY_SQUIRREL, CUCKY_CHICKEN }, // Mushroom Hill
  { POCKY_RABBIT,   CUCKY_CHICKEN }, // Sandopolis
  { FLICKY_FLICKY,  CUCKY_CHICKEN }, // Lava Reef
  { POCKY_RABBIT,   FLICKY_FLICKY }, // Sky Sanctuary
  { RICKY_SQUIRREL, CUCKY_CHICKEN }, // Death Egg
  { RICKY_SQUIRREL, FLICKY_FLICKY }, // Doomsdag
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
  { FLICKY_FLICKY,  CUCKY_CHICKEN },
};
